package com.seek.util;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.seek.dao.InterLogDao;
import com.seek.model.entity.TInterLog;

@Component("interLogUtil")
public class InterLogUtil {

	
	@Resource
	private TheadHelper theadHelper;
	@Resource
	private InterLogDao interLogDao;
	
	public void addInterLog(TInterLog interLog) throws Exception {
		theadHelper.getTaskExecutor().execute(new InterLogThread(interLogDao, interLog));
	}
}
